<!DOCTYPE html>
  <html>
  <head>
      <meta charset="utf-8">
      <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
      <title>title</title>
      <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
      <style>
  *{padding: 0;margin: 0}
  body{width: 140px;height: 60px;box-sizing: border-box;}
        .box  {box-sizing: border-box;border-radius:20px;;background-color:rgba(255,255,255,0.8);width: 140px;height:60px;padding:4px;}
          .box .con{background-color: }
      h1{font-size: 20px;text-align: center;}
      .box .col{width: 50%;text-align: center;float:left;margin-top:5px;text-align: center;box-sizing: border-box;}
        .box .col .img{height: 25px;text-align: center;width: 100%}
  .box .col   img{display: block;width: 25px;height:25px;margin: 0 auto;}
    .box .col:first-child+.col   img{height: 20px;vertical-align: middle;;display: inline-block}
      .box .col span{font-size: 12px;color: #666;text-align: center;}
      .clearfix{clear: both;}
      </style>
  </head>
  <body >
    <div class="box">
      <div class="col" onclick="publicitem()">
        <div class="img">
        <img src="../image/zhaopin.png" alt="">
        </div>
        <span>需求</span>
      </div>
      <div class="col" onclick="publicitemother()">
        <div class="img">
        <img src="../image/other.png" alt="">
        </div>
        <span>其他</span>
      </div>
      <div class="clearfix"></div>
    </div>
  </body>
  <script type="text/javascript" src="../../script/api.js"></script>
  <script type="text/javascript">
      apiready = function(){

      };
function publicitem() {
  api.openWin({
      name: 'publicitem',
      url: 'widget://html/faxuqiu/publicitem.html',
      pageParam: {
          name: 'test'
      }
  });


}
function publicitemother() {
  api.openWin({
      name: 'publicitem',
      url: 'widget://html/faxuqiu/publicitem_other.html',
      pageParam: {
          name: 'test'
      }
  });
}
  </script>
  </html>
